Gitlab Get User Tasks Tool
Retrieve and filter a user's pending tasks from GitLab using customizable criteria, such as task type or creation date, to streamline task management and improve workflow efficiency.
Instructions
获取当前用户的待办任务,支持多种过滤条件。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fields | No | 需要返回的字段路径数组,支持数组或逗号分隔字符串,用于过滤 API 响应字段。 示例: - ["id", "name", "owner.username"] - "id,name,owner.username" - undefined | |
taskFilterType | No | 任务过滤类型 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"description": "需要返回的字段路径数组,支持数组或逗号分隔字符串,用于过滤 API 响应字段。\n示例:\n- [\"id\", \"name\", \"owner.username\"]\n- \"id,name,owner.username\"\n- undefined"
},
"taskFilterType": {
"description": "任务过滤类型",
"enum": [
"ALL",
"ASSIGNED_MRS",
"REVIEW_MRS",
"MY_ISSUES",
"MY_PIPELINES",
"MR_CREATED_TODAY",
"ISSUES_CREATED_TODAY",
"CUSTOM"
],
"type": "string"
}
},
"type": "object"
}